home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / NextAnswers / 1159_Edit_printing_problems_via_lpr.rtf < prev    next >
Text File  |  1995-06-12  |  940b  |  33 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fmodern Courier;\f2\fmodern Ohlfs;}
  2. \paperw11360
  3. \paperh9200
  4. \margl120
  5. \margr120
  6. {\colortbl;\red84\green84\blue84;\red83\green83\blue83;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ulnone\fs28\fc0\cf0 Q:  When I attempt to print an Edit file from a shell, my output consists of several very long lines (i.e., it does not word wrap).\
  8. \
  9. A:  Edit does not save return characters in its files, but uses the word wrap capability of the AppKit's Text object to resize the lines to fit the window.  You can use the UNIX command 
  10. \i fmt
  11. \i0  to break the file into shorter lines.  
  12. \f1\fs24 \
  13. \
  14. % fmt 
  15. \i filename
  16. \i0  | lpr
  17. \f0\fs28 \
  18. \
  19. Also, the 
  20. \i enscript
  21. \i0  command will convert text files to PostScript format for printing. \
  22. See the man pages for 
  23. \i fmt
  24. \i0  and 
  25. \i enscript
  26. \i0  for more information.  \
  27. \
  28. QA128\
  29. \
  30. Valid for 1.0, 2.0, 3.0, 3.1\
  31. \
  32.  
  33.